package com.xiaoai.generic;

/**
 * @Author
 * @Date 2021-09-07 23:28
 */
public class Child<T,E> extends Parent<T>{

    private E value;

    public Child(T key,E value) {
        super(key);
        this.value = value;
    }

    @Override
    public T getKey() {
        return super.getKey();
    }

    public E getValue(){
        return value;
    }
}
